.class public Lcom/waiqin365/lightapp/product/ProductViewActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field private a:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

.field private b:Landroid/view/View;

.field private c:Lcom/waiqin365/base/login/mainview/TitleBar;

.field private d:Lcom/waiqin365/lightapp/view/NoNetView;

.field private e:Lcom/waiqin365/lightapp/product/d/g;

.field private f:Landroid/view/View;

.field private g:Lcom/waiqin365/lightapp/chexiao/bs;

.field private h:Lcom/waiqin365/lightapp/product/a/av;

.field private i:Ljava/util/List;


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->i:Ljava/util/List;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/product/ProductViewActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->a:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    return-object v0
.end method

.method private a()V
    .locals 2

    const v0, 0x7f0c0a00

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductViewActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->a:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    const v0, 0x7f0c09fc

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductViewActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->b:Landroid/view/View;

    const v0, 0x7f0c0523

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductViewActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/login/mainview/TitleBar;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->c:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->c:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->e:Landroid/widget/TextView;

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->c:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->b:Landroid/widget/ImageButton;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setVisibility(I)V

    const v0, 0x7f0c0867

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductViewActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->f:Landroid/view/View;

    const v0, 0x7f0c0a01

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductViewActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/NoNetView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->d:Lcom/waiqin365/lightapp/view/NoNetView;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/product/ProductViewActivity;Ljava/lang/String;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/product/ProductViewActivity;->a(Ljava/lang/String;)V

    return-void
.end method

.method private a(Ljava/lang/String;)V
    .locals 3

    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->mContext:Landroid/content/Context;

    const-class v2, Lcom/waiqin365/lightapp/product/ProductSearchActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_0

    const-string/jumbo v1, "search"

    invoke-virtual {v0, v1, p1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "camera"

    const/4 v2, 0x1

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    :cond_0
    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->e:Lcom/waiqin365/lightapp/product/d/g;

    iput-object p1, v1, Lcom/waiqin365/lightapp/product/d/g;->m:Ljava/lang/String;

    const-string/jumbo v1, "param"

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->e:Lcom/waiqin365/lightapp/product/d/g;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductViewActivity;->startActivity(Landroid/content/Intent;)V

    return-void
.end method

.method private b()V
    .locals 2

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductViewActivity;->d()Lcom/waiqin365/lightapp/product/a/av;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->h:Lcom/waiqin365/lightapp/product/a/av;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->a:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->h:Lcom/waiqin365/lightapp/product/a/av;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setAdapter(Landroid/widget/BaseAdapter;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->c:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v1, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->e:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->e:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/g;->g:Ljava/lang/String;

    if-nez v0, :cond_0

    const v0, 0x7f080667

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductViewActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    :goto_0
    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductViewActivity;->e()V

    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->e:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/g;->g:Ljava/lang/String;

    goto :goto_0
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/product/ProductViewActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductViewActivity;->b()V

    return-void
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/product/ProductViewActivity;)Lcom/waiqin365/lightapp/product/d/g;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->e:Lcom/waiqin365/lightapp/product/d/g;

    return-object v0
.end method

.method private c()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->c:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->a:Landroid/widget/ImageButton;

    invoke-virtual {v0, p0}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->c:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->g:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->b:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->f:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->a:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v1, Lcom/waiqin365/lightapp/product/du;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/product/du;-><init>(Lcom/waiqin365/lightapp/product/ProductViewActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setonRefreshListener(Lcom/waiqin365/lightapp/dailyreport/view/z;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->a:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v1, Lcom/waiqin365/lightapp/product/dw;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/product/dw;-><init>(Lcom/waiqin365/lightapp/product/ProductViewActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setonHistoryListener(Lcom/waiqin365/lightapp/dailyreport/view/aa;)V

    return-void
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/product/ProductViewActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method private d()Lcom/waiqin365/lightapp/product/a/av;
    .locals 3

    new-instance v0, Lcom/waiqin365/lightapp/product/a/av;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->mContext:Landroid/content/Context;

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->i:Ljava/util/List;

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/lightapp/product/a/av;-><init>(Landroid/content/Context;Ljava/util/List;)V

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/product/a/av;->a(Z)V

    return-object v0
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/product/ProductViewActivity;)Lcom/waiqin365/lightapp/product/a/av;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->h:Lcom/waiqin365/lightapp/product/a/av;

    return-object v0
.end method

.method private e()V
    .locals 4

    const/16 v3, 0x8

    const/4 v2, 0x0

    const-string/jumbo v0, "1"

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->e:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v1, v1, Lcom/waiqin365/lightapp/product/d/g;->h:Lcom/waiqin365/lightapp/product/d/j;

    iget-object v1, v1, Lcom/waiqin365/lightapp/product/d/j;->g:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->i:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/offlinedata/w;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/w;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->e:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v1, v1, Lcom/waiqin365/lightapp/product/d/g;->h:Lcom/waiqin365/lightapp/product/d/j;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/offlinedata/w;->b(Lcom/waiqin365/lightapp/product/d/j;)Ljava/util/List;

    move-result-object v0

    if-eqz v0, :cond_1

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v1

    if-lez v1, :cond_1

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->i:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    :cond_1
    if-eqz v0, :cond_2

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->e:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v1, v1, Lcom/waiqin365/lightapp/product/d/g;->h:Lcom/waiqin365/lightapp/product/d/j;

    iget-object v1, v1, Lcom/waiqin365/lightapp/product/d/j;->h:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->a:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->g()V

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->i:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-nez v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->d:Lcom/waiqin365/lightapp/view/NoNetView;

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->d:Lcom/waiqin365/lightapp/view/NoNetView;

    const v1, 0x7f08058e

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/product/ProductViewActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/lightapp/view/NoNetView;->setMsg(Ljava/lang/String;Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->a:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setVisibility(I)V

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->h:Lcom/waiqin365/lightapp/product/a/av;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/a/av;->notifyDataSetChanged()V

    return-void

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->a:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->f()V

    goto :goto_0

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->d:Lcom/waiqin365/lightapp/view/NoNetView;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->a:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setVisibility(I)V

    goto :goto_1
.end method

.method static synthetic f(Lcom/waiqin365/lightapp/product/ProductViewActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductViewActivity;->e()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 3

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductViewActivity;->finish()V

    goto :goto_0

    :sswitch_1
    const-string/jumbo v0, ""

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/product/ProductViewActivity;->a(Ljava/lang/String;)V

    goto :goto_0

    :sswitch_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->g:Lcom/waiqin365/lightapp/chexiao/bs;

    if-nez v0, :cond_0

    new-instance v0, Lcom/waiqin365/lightapp/chexiao/bs;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->mContext:Landroid/content/Context;

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->e:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v2, v2, Lcom/waiqin365/lightapp/product/d/g;->h:Lcom/waiqin365/lightapp/product/d/j;

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/lightapp/chexiao/bs;-><init>(Landroid/content/Context;Lcom/waiqin365/lightapp/product/d/j;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->g:Lcom/waiqin365/lightapp/chexiao/bs;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->g:Lcom/waiqin365/lightapp/chexiao/bs;

    new-instance v1, Lcom/waiqin365/lightapp/product/dx;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/product/dx;-><init>(Lcom/waiqin365/lightapp/product/ProductViewActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/chexiao/bs;->a(Landroid/view/View$OnClickListener;)V

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->g:Lcom/waiqin365/lightapp/chexiao/bs;

    const v1, 0x7f0c0247

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/product/ProductViewActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/chexiao/bs;->a(Landroid/view/View;)V

    goto :goto_0

    nop

    :sswitch_data_0
    .sparse-switch
        0x7f0c0089 -> :sswitch_0
        0x7f0c008a -> :sswitch_0
        0x7f0c0867 -> :sswitch_2
        0x7f0c09fc -> :sswitch_1
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 4

    const/4 v3, 0x0

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    const v0, 0x7f0301e5

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductViewActivity;->setContentView(I)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductViewActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "param"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/d/g;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->e:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->e:Lcom/waiqin365/lightapp/product/d/g;

    if-nez v0, :cond_0

    new-instance v0, Lcom/waiqin365/lightapp/product/d/g;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/product/d/g;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->e:Lcom/waiqin365/lightapp/product/d/g;

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->e:Lcom/waiqin365/lightapp/product/d/g;

    iput-boolean v3, v0, Lcom/waiqin365/lightapp/product/d/g;->n:Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->e:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/g;->h:Lcom/waiqin365/lightapp/product/d/j;

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->e:Lcom/waiqin365/lightapp/product/d/g;

    new-instance v1, Lcom/waiqin365/lightapp/product/d/j;

    invoke-direct {v1}, Lcom/waiqin365/lightapp/product/d/j;-><init>()V

    iput-object v1, v0, Lcom/waiqin365/lightapp/product/d/g;->h:Lcom/waiqin365/lightapp/product/d/j;

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->e:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/g;->h:Lcom/waiqin365/lightapp/product/d/j;

    const-string/jumbo v1, "20"

    iput-object v1, v0, Lcom/waiqin365/lightapp/product/d/j;->h:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->e:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/g;->h:Lcom/waiqin365/lightapp/product/d/j;

    iput-boolean v3, v0, Lcom/waiqin365/lightapp/product/d/j;->m:Z

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductViewActivity;->a()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductViewActivity;->c()V

    invoke-static {}, Lcom/waiqin365/lightapp/product/o;->a()Lcom/waiqin365/lightapp/product/o;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/o;->c()Z

    move-result v0

    if-nez v0, :cond_2

    new-instance v0, Lcom/waiqin365/lightapp/product/ds;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/product/ds;-><init>(Lcom/waiqin365/lightapp/product/ProductViewActivity;)V

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/e/b;->a(Lcom/waiqin365/lightapp/product/c/f;)V

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/offlinedata/w;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/w;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/w;->a()Z

    move-result v0

    if-eqz v0, :cond_3

    const-string/jumbo v0, ""

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductViewActivity;->showProgressDialog(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->a:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->e()V

    :goto_0
    return-void

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductViewActivity;->mContext:Landroid/content/Context;

    const/4 v1, 0x1

    new-instance v2, Lcom/waiqin365/lightapp/product/dt;

    invoke-direct {v2, p0}, Lcom/waiqin365/lightapp/product/dt;-><init>(Lcom/waiqin365/lightapp/product/ProductViewActivity;)V

    invoke-static {v0, v1, v3, v2}, Lcom/waiqin365/lightapp/kehu/c/b;->a(Landroid/content/Context;ZZLcom/waiqin365/lightapp/kehu/c/l;)V

    goto :goto_0
.end method
